Forum Activity for @michael

michael
@michael
05/14/18 10:39:26PM
7,826 posts

DB Get JR ProfileURL from UserID


Jamroom Developers

I'd avoid trying to use SQL on a datastore if at all possible. If possible use the jrCore_db_query() function to get datastore stuff or you're bypassing all the other modules optional overrides.

A search query to get all profiles info would be
    // We have mentions - make sure they are good
        $_rt = array(
            'search'         => array(
                'profile_url in ' . implode(',', $_tmp)
            ),
            'return_keys'    => array('_profile_id', 'profile_url'),
            'skip_triggers'  => true,
            'ignore_pending' => true,
            'limit'          => count($_tmp)
        );
        $_rt = jrCore_db_search_items('jrProfile', $_rt);
        if ($_rt && is_array($_rt) && isset($_rt['_items'])) {
.....

do a search on the codebase for 'jrCore_db_search_items('jrProfile',' and you'll see many examples.

A profile url in is just the base url of the site + the profile_url, so in php that's
$profile_url  = "{$_conf['jrCore_base_url']}/{$item['profile_url']}";

if you absolutely have to do a direct SQL query then its
$tbl = jrCore_db_table_name('jrProfile', 'item_key');
$req = "SELECT * FROM {$tbl} WHERE item_id = '1' ";
$single = jrCore_db_query($req, 'SINGLE'); // a single query or
$_many = jrCore_db_query($req, 'NUMERIC'); // many items
michael
@michael
05/11/18 06:03:12AM
7,826 posts

Jamroom Instalation


Using Jamroom

You can spin up a jamroom server from your hosting control panel here:
https://www.jamroom.net/leannedonnelly/hosting/overview

There's a 7 day free trial on the servers. That should be enough time to decide if you do or dont want to go forward with it. Jamroom is targeted more to web developers than wordpress is. Wordpress is much more friendly to non-developers, but Jamroom is more customizable for users who are familiar with web development techniques like php, html, css.

Check out the docs here:

Docs: "Table of contents"
https://www.jamroom.net/the-jamroom-network/documentation/contents

And the videos here

Video Learning
https://www.jamroom.net/video-training
michael
@michael
05/09/18 05:15:44PM
7,826 posts

Is there a way to reorder GROUPS


Design and Skin Customization

As for adding a GROUPS button to profiles that do not have access to the groups module, then yes strumelia correct for the location. You'd need to add a button to those profile menus that don't have it via the skins profile_menu.tpl file.
michael
@michael
05/09/18 05:12:40PM
7,826 posts

Is there a way to reorder GROUPS


Design and Skin Customization

My mistake. Thanks douglas for spotting it. The template is jrGroup item_index.tpl that controls https://site.com/profilename/group

You will find the jrCore_list in there line 42 ish.
michael
@michael
05/09/18 05:08:18PM
7,826 posts

auto-follow a discussion when you've posted to it


Using Jamroom

In the next version of jrForum (2.2.6) the auto-follow a discussion when you've posted to it issue should be fixed. Previously the module would check the 'Forums Updated' setting. In the new version it does not check that setting.

This should have the effect of any user who comments on a forum thread will then be following that forum thread.

There is nothing you need to do, just update it and it should work for everybody. Those that have a setting for 'Forum Updated' and those that don't. It should now work for everybody because that setting is ignored.
michael
@michael
05/09/18 06:24:53AM
7,826 posts

auto-follow a discussion when you've posted to it


Using Jamroom

Only users who are allowed a forum on their profile see the "forum updated" notification option in NOTIFICATIONS tab.
michael
@michael
05/09/18 01:45:09AM
7,826 posts

Is there a way to reorder GROUPS


Design and Skin Customization

The template you're after is
jrGroups item_list.tpl

Thats the top page for the GROUPS tab on peoples profiles. adjust the jrCore_list as strumelia suggested. Its on line 42 ish.
michael
@michael
05/09/18 01:37:30AM
7,826 posts

looking to edit the profile/product/categories in jrFollowMe


Design and Skin Customization

There is no .tpl file controlling that location. You'll need to customize via CSS in your skin.
michael
@michael
05/09/18 01:34:28AM
7,826 posts

Display tag search results as panel, not as list


Suggestions

This is something that would be very difficult to implement and get right for everybody.

What the tags is outputting is a list of things tagged with somthign. its a list. you can have audio items, gallery items, blog posts, products and anything else that can be tagged in that single list.

* gallery image
* gallery image
* blog post
* forum post
* gallery image
* audio file
* ....

Currently each module provides a template for how a single item is formatted in a list and that is used to create the tags output list.

On a single site you can customize this by adjusting the jrTags 'tag_list.tpl' template and CSS to get it into a panel layout because you can determine the types of things that are going to appear in the list. If its just gallery images then its easier to do.
  130